/*
 * Logger.cpp
 *
 *  Created on: 18.11.2010
 *      Author: jilly
 */

#include "Logger.h"

Logger::Logger(const char* filename)
{
	this->filename = filename;
	init();
}

Logger::~Logger() {
	fileStream.close();
}

ofstream& Logger::getLogger()
{
	return fileStream;
}

void Logger::init()
{
	fileStream.open(filename);
}
